package com.github.cooingandwooing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.cooingandwooing.bo.Example2ProductBo;
import com.github.cooingandwooing.entity.Example2ProductEntity;

import java.util.List;

/**
 * @author cooingandwooing
 */
public interface Example2ProductMapper extends BaseMapper<Example2ProductEntity> {
    /**
     * 更新
     * @param example2ProductBo
     * @return Integer
     * */
    Integer updateGoodNum(Example2ProductBo example2ProductBo);

    /**
     * 更新
     * @param example2ProductBo
     * @return
     */
    List<Example2ProductEntity> queryGoodInfoByGoodId(Example2ProductBo example2ProductBo);
}
